package com.swxc.ssm.mapper;

import com.swxc.ssm.po.Course;
import com.swxc.ssm.po.Teacher;
import com.swxc.ssm.po.Usertocou;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by admin on 2017/8/4.
 */
public interface UsertocouMapper {

    List<Course> selectByUserID(Integer ID);

    int deleteByPrimaryKey(Integer ID);
//    int insertSelective(Usertocou usertocou);

   int insert(@Param("UserId")Integer UserId,@Param("CourseId")Integer CourseId);

    List<Course> selectByUserStatus(@Param("UserId")Integer UserId ,@Param("Status")Integer Status);

}
